package com.Pawtrack.info.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.Pawtrack.common.annotation.Excel;
import com.Pawtrack.common.core.domain.BaseEntity;

/**
 * 电子围栏对象 pet_fence
 * 
 * @author ruoyi
 * @date 2025-08-14
 */
public class PetFence extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 围栏ID */
    private Long id;

    /** 宠物ID */
    @Excel(name = "宠物ID")
    private Long petId;

    /** 围栏名称 */
    @Excel(name = "围栏名称")
    private String name;

    /** 围栏中心经度 */
    @Excel(name = "围栏中心经度")
    private Long centerLong;

    /** 围栏中心纬度 */
    @Excel(name = "围栏中心纬度")
    private Long centerLat;

    /** 半径（米） */
    @Excel(name = "半径", readConverterExp = "米=")
    private Long radius;

    /** 状态（0启用 1禁用） */
    @Excel(name = "状态", readConverterExp = "0=启用,1=禁用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPetId(Long petId) 
    {
        this.petId = petId;
    }

    public Long getPetId() 
    {
        return petId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setCenterLong(Long centerLong) 
    {
        this.centerLong = centerLong;
    }

    public Long getCenterLong() 
    {
        return centerLong;
    }

    public void setCenterLat(Long centerLat) 
    {
        this.centerLat = centerLat;
    }

    public Long getCenterLat() 
    {
        return centerLat;
    }

    public void setRadius(Long radius) 
    {
        this.radius = radius;
    }

    public Long getRadius() 
    {
        return radius;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("petId", getPetId())
            .append("name", getName())
            .append("centerLong", getCenterLong())
            .append("centerLat", getCenterLat())
            .append("radius", getRadius())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
